package com.android.bandroid.core;

import com.android.bandroid.api.model.ApiResponse;
import com.android.bandroid.api.util.CoreCallbackListener;
import com.android.bandroid.model.LoginResp;

/**
 * Created by Kevin on 2015/11/6.
 */
public interface CoreService {
    /**
     * 登录
     *
     * @param userName 用户名
     * @param password 密码
     * @param listener 回调监听
     */
    public void login (String userName, String password, CoreCallbackListener<ApiResponse<LoginResp>> listener);
}
